package io.aircraft.modules.wms.dao;

import io.aircraft.common.dao.BaseDao;
import io.aircraft.modules.wms.entity.OrderDetailEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 出库明细
 *
 * @author Cycle gengruyi01@163.com
 * @since 1.0.0 2022-11-16
 */
@Mapper
public interface OrderDetailDao extends BaseDao<OrderDetailEntity> {
    List<OrderDetailEntity> getDetailByOrderId(@Param("orderId") Long id);
    int batchSave(List<OrderDetailEntity> detailList);
}